<template>
	<div class="account">
		<div class="more">
			<h3 style="font-weight: 500;">我的订单</h3>
			<router-link to="">
				全部<i style="color: #dcdcdc;" class="el-icon-arrow-right"></i>
			</router-link>
		</div>
		<div class="amount">
			<div style="width: 80%;">
				<table style="width: 100%;">
					<tbody>
						<tr class="balance1">
							<td>
								<router-link to="">
									<img src="@/assets/img/mobile/pay.png" />
								</router-link>
							</td>
							<td>
								<router-link to="">
									<img src="@/assets/img/mobile/send.png" />
								</router-link>
							</td>
							<td>
								<router-link to="">
									<img src="@/assets/img/mobile/deliver.png" />
								</router-link>
							</td>
						</tr>
						<tr class="balance2">
							<td>
								<router-link to="">
									待付款
								</router-link>
							</td>
							<td>
								<router-link to="">
									待发货
								</router-link>
							</td>
							<td>
								<router-link to="">
									待收货
								</router-link>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: 'MobilePersonAccount',
		props: ['person'],
		data() {
			return {
				user: ''
			}
		},
		watch: {
			person() {
				this.user = this.person
			}
		},
		computed: {
			Filter() {
				this.user = this.person
				let Filter = this.user
				return Filter;
			}
		},
	}
</script>

<style scoped>
	.account {
		width: 90%;
		background-color: white;
		border-radius: 1rem;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}

	.account .more {
		width: 90%;
		height: 2rem;
		display: flex;
		justify-content: space-between;
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}

	.account .more a {
		color: #a8a8a8;
	}

	.account .amount {
		width: 95%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 1rem;
		margin-left: 1rem;
	}

	.account .amount .balance1 {
		width: 100%;
	}

	.account .amount .balance1 td {
		text-align: center;
		padding-left: 0.5rem;
	}

	.account .amount td img {
		width: 2rem;
		height: 2rem;
	}

	.account .amount .balance2 {
		text-align: center;
		width: 100%;
	}

	.account .amount tr td a {
		width: 100%;
		height: auto;
		display: block;
		color: black;
	}
</style>